package pe.gob.pj.sri.servicio.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.gob.pj.sri.bean.ActaPase;
import pe.gob.pj.sri.negocio.ActaPaseNegocio;
import pe.gob.pj.sri.servicio.ActaPaseService;

@Service("ActaPaseServiceImp")
public class ActaPaseServiceImp implements ActaPaseService {
	
	@Autowired
	private ActaPaseNegocio actaPaseNegocio;
	
	public List<ActaPase> listarActaPase() throws Exception {
		// TODO Auto-generated method stub
		System.out.print("capa de servicio");
		return actaPaseNegocio.listarActaPase();
	}
	
	public ActaPase obtenerActaPase(String id) throws Exception {
		System.out.print("capa de servicio");
		return actaPaseNegocio.obtenerActaPase(id);
	}

	public boolean crearActaPase(ActaPase a) throws Exception {
		// TODO Auto-generated method stub
		return actaPaseNegocio.crearActaPase(a);
	}

	public boolean modificarActaPase(ActaPase a) throws Exception {
		// TODO Auto-generated method stub
		return actaPaseNegocio.modificarActaPase(a);
	}

	public boolean eliminarActaPase(ActaPase a) throws Exception {
		// TODO Auto-generated method stub
		return actaPaseNegocio.eliminarActaPase(a);
	}

	

}
